package com.atguigu.mapper;

import com.atguigu.yygh.model.order.PaymentInfo;
import com.atguigu.yygh.model.order.RefundInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

@Repository
public interface RefundInfoMapper extends BaseMapper<RefundInfo> {
    /**
     * 根据订单记录去退款
     * @param paymentInfo
     * @return
     */
    RefundInfo saveReMoney(PaymentInfo paymentInfo);
}
